#使用运行的基础镜像库
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
#程序的工作目录
WORKDIR /app

EXPOSE 80


# 此阶段用于生成服务项目
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY . .

ENTRYPOINT ["dotnet", "Management.Systeam.Write.Api.dll"]